﻿using System;
using System.Collections.Generic;
using System.Text;

namespace RLFtrClc
{
    public class CalculatedFighterSquadron: ICalculatedFighter
    {
        public int RowOneArmor = 6;

        public int RowOneCRA = 0;

        public int RowOneLRA = 0;

        public int Missiles = 0;
        public int Movement = 0;

        public string Name = String.Empty;

        public CalculatedFighterSquadron()
        {
        }

        #region ICalculatedFighter Members

        void ICalculatedFighter.setArmorRow(int Row, int Armor)
        {
            RowOneArmor = Armor;
        }

        void ICalculatedFighter.setCRARow(int Row, int CRA)
        {
            RowOneCRA = CRA;
        }

        void ICalculatedFighter.setLRARow(int Row, int LRA)
        {
            RowOneLRA = LRA;
        }

        void ICalculatedFighter.setMovement(int Movement)
        {
            this.Movement = Movement;
        }

        void ICalculatedFighter.setMissiles(int Missiles)
        {
            this.Missiles = Missiles;
        }

        void ICalculatedFighter.setName(string Name)
        {
            this.Name = Name;
        }

        int ICalculatedFighter.getArmorRow(int Row)
        {
            return RowOneArmor;
        }

        int ICalculatedFighter.getCRARow(int Row)
        {
            return RowOneCRA;
        }

        int ICalculatedFighter.getLRARow(int Row)
        {
            return RowOneLRA;
        }

        int ICalculatedFighter.getMovement()
        {
            return Movement;
        }

        int ICalculatedFighter.getMissiles()
        {
            return Missiles;
        }

        string ICalculatedFighter.getName()
        {
            return Name;
        }

        #endregion
    }
}
